from django.conf.urls.defaults import patterns, url
from forms_builder.forms.views import form_sent, form_detail
from bform.views import book_index, book_list, book_detail

urlpatterns = patterns('',
    url(r'^~booklist/(?P<entry_id>.*)/$', book_detail, name='book_detail'),
    url(r'~booklist/$', book_list, name='book_list'),
    url(r'(?P<slug>.*)/sent/$', form_sent, name='form_sent'),
    url(r'^(?P<slug>.*)/$', form_detail, name='form_detail'),
    url(r'$', book_index, name='book_index'),
)
